package com.interior.study.mapper;

import com.interior.study.pojo.Employees;
import org.apache.ibatis.annotations.Mapper;

import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface EmployeesMapper {

    /**
     * 查询所有员工
     */
    public List<Employees> findEmpListAll();

    /**
     * 登录
     * @param employeesid
     * @param password
     * @return
     */
    public Employees findBylogin(@Param("employeesid")String employeesid, @Param("password")String password);

}
